package com.cloudkinto.service.stock.vo.log;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class StockLogExportVo {

    @Excel(name = "所属店铺")
    private String shop;
    @Excel(name = "所在仓库")
    private String storage;
    @Excel(name = "产品SKU")
    private String commoditySku;
    @Excel(name = "仓库SKU")
    private String storageSku;
    @Excel(name = "操作单号")
    private String thirdOrderNumber;
    @Excel(name = "顾客单号")
    private String customerOrderNumber;

    /**
     * 0 仓库盘点  1 出库 2 入库
     */
    @Excel(name = "入出库类型")
    private String type;

    @Excel(name = "库存类型 ", replace ={"良品_0","不良_1"})
    private Integer status;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private Integer count;

    /**
     * 剩余数量
     */
    @Excel(name = "剩余数量")
    private Integer afterCount;

    @Excel(name = "操作时间",format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Excel(name = "操作人")
    private String operateBy;
}
